﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ProductPriceEntity.cs
// 修改时间：2020-9-8 10:40:08
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ProductPrice 的实体类.
	/// </summary>
	[Table("ProductPrice")]
	public partial class ProductPriceEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _productID = 0;
		/// <summary>
		/// 商品ID
		/// </summary>
		[Column("ProductID",TypeName="int")]
		public int? ProductID
		{
			get {return _productID;}
			set {_productID = value;}
		}
		
		private System.String _propertyValue = string.Empty;
		/// <summary>
		/// 属性值
		/// </summary>
		[Column("PropertyValue",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String PropertyValue
		{
			get {return _propertyValue;}
			set {_propertyValue = value;}
		}
		
		private System.String _tableName = string.Empty;
		/// <summary>
		/// 表名
		/// </summary>
		[Column("TableName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TableName
		{
			get {return _tableName;}
			set {_tableName = value;}
		}
		
		private int? _groupID = 0;
		/// <summary>
		/// 会员组ID
		/// </summary>
		[Column("GroupID",TypeName="int")]
		public int? GroupID
		{
			get {return _groupID;}
			set {_groupID = value;}
		}
		
		private decimal? _price = 0;
		/// <summary>
		/// 价格
		/// </summary>
		[Column("Price",TypeName="money")]
		public decimal? Price
		{
			get {return _price;}
			set {_price = value;}
		}
		
		#endregion
	}
}
